<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                template="../template.xhtml">
    <ui:param name="title" value="Create a new user"/>
    <ui:define name="content">
        <h1>Create a new user</h1>
        <h:form>
            <table border="0">
                <tr>
                    <td><h:outputLabel value="E-mail: "/></td>
                    <td><h:inputText value="#{userController.user.email}"/></td>
                </tr>
                <tr>
                    <td><h:outputLabel value="Password:"/></td>
                    <td><h:inputText value="#{userController.user.password}"/></td>
                </tr>
                <tr>
                    <td><h:outputLabel value="Name: "/></td>
                    <td><h:inputText value="#{userController.user.name}"/></td>
                </tr>
            </table>
            <h:commandButton value="Create a user" action="#{userController.doCreate}"/>
        </h:form>
    </ui:define>
</ui:composition>